home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10286 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  735 b 

  1. Path: airdmhor.gen.nz!not-for-mail
  2. From: gumboot@airdmhor.gen.nz (Simon Hosie)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: integer and real numbers in C/C++
  5. Date: 17 Mar 1996 02:46:37 +1200
  6. Organization: Airdmhor : a couple of BBS's, a bunch of people, and a cat.
  7. Message-ID: <4iek8d$cr0@airdmhor.gen.nz>
  8. References: <31477D44.782@macon.wm.slb.com>
  9. NNTP-Posting-Host: airdmhor.gen.nz
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Laurent Darton:
  13. > My problem is 
  14. >     - I don't want to use a long (4 Bytes) to code 3 bytes (but it     
  15. > works fine..)
  16.  
  17.   Why don't you just accept it?  It's not unlikely that if you did create a
  18. 3 byte data type that it would get rounded up to 4 bytes for alignment
  19. purposes and simply deny you access to a quarter of it.
  20.